<template>
	<view class="bottomNavBarBox">

		<view class="isNextBotton" @click="toTripDetails(propos.backImage)">下一步</view>
	</view>
</template>

<script setup>
	const propos = defineProps({
	
		isSelect:{
			type:String,
			default:''
		},
		backImage:{
			type:String,
			default:''
		}
	})
	const emits =  defineEmits(['subMit'])
	const toTripDetails =(backImage)=>{
		if(propos.isSelect){
			emits('subMit',backImage)
		
			
		}else{
			uni.showToast({
				title: '请填写人数等信息',
				icon: 'none'
			})
		}
	}
</script>

<style scoped>
	.bottomNavBarBox{
		background-color: white;
		justify-content: space-between;
		display: flex;
		height: 10vh;
		width: 100%;
		position: fixed;
		bottom: 0%;
		align-items: center;
		z-index: 10;
		border-top:1rpx solid #f5f6f7;
		padding: 0 30rpx;
		box-sizing: border-box;
	}
	.isNextBotton{
		border-radius: 50rpx;
		background-color: #333333;
		color: white;
		width: 100%;
		height: 12vw;
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>